package cn.com.huzo.service.qtz;

import huzofw.repository.security.EventLogRepository;
import javax.annotation.Resource;

/**
 * 定时清除操作日志
 *
 * @author 吴旭
 */
public class ClearLogJob {

    @Resource(name = "EventLogRepository")
    private EventLogRepository _dao;

    public void execute() {
        // 删除90天（3个月）前的操作日志
        _dao.Delete(90);
    }
}
